<?php
class Ecore_Upload_Category {		
	public static function upload($file)
	{
		if ($file['name'] != '') {	
			$strFolder					= '/';
			$strFullFolder 				= DIR_CATEGORY . $strFolder;
			$arrUploadResult 			= Ecore_Upload_Common::process($file, $strFullFolder, IMAGE_SIZE*1024*1024);					
			return $arrUploadResult;
		}
		return null;
	}
}
?>
